package com.booktrade.service;

import com.booktrade.dto.CartDTO;
import com.booktrade.entity.Cart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.booktrade.vo.CartShopVo;

/**
 * <p>
 * 购物车表，存储用户购物车中添加的书籍信息 服务类
 * </p>
 *
 */
public interface ICartService extends IService<Cart> {

    void addCart(CartDTO cartDTO, Integer userId);

    void deleteCart(CartDTO cartDTO, Integer userId);

    CartShopVo Cartlist(Integer userId);
}

